package com.yxc.plan.wolf.domain.repository;

import com.yxc.plan.wolf.domain.Notice;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
* @Description : 
* @Author      : abc@vanke.com
* @Date        : 2018-12-17 19:25
*/

@Repository
public interface NoticeRepository extends JpaRepository<Notice, Long>, JpaSpecificationExecutor<Notice> {
    Page<Notice> findByDeletedAndProjectId(Boolean deleted, Long projectId, Pageable pageable);
}
